package com.northpool.operator.bean;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * @author Bai Chenguang
 * @Date: 2024/08/25/ 下午 8:28
 * @Description
 */
@XmlRootElement(name = "metaConfig")
@XmlAccessorType(XmlAccessType.FIELD)
public class MetaConfig implements Serializable {
    @XmlElement(name = "host")
    String host;
    @XmlElement(name = "port")
    Integer port;
    @XmlElement(name = "zkAddress")
    String zkAddress;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getZkAddress() {
        return zkAddress;
    }

    public void setZkAddress(String zkAddress) {
        this.zkAddress = zkAddress;
    }
}
